﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Order_OrderList" Codebehind="OrderList.aspx.cs" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../Controls/ORDERDOCListControl.ascx" TagName="ORDERDOCListControl" TagPrefix="uc1" %>
<%@ Register Src="../Controls/BUTTONDJLIST.ascx" TagName="BUTTONDJLIST" TagPrefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="../Include/Js/SocanCode.js"></script>
        <script type="text/javascript" src="../Include/Js/PopupCalendar.js"></script>
        <script type="text/javascript" src="../Include/Js/OpenWindow.js"></script>
        
        <script type="text/javascript">
       function setVIPValue(p)
       {
            var gk=p.split("|");
            document.getElementById("TextBox2").innerText=gk[0];
       } 
        function KeyUp() 
     {  

      if (event.keyCode == 13)
       {
           event.returnValue=false;
           document.getElementById("Button1").click();
        }  
    }     
    
        </script>
</head>
<body onkeydown="KeyUp()">
<script language="javascript" type="text/javascript">

    function selectPayType()
    {debugger;
        var type=window.showModalDialog("SelectPayType.aspx",window,"status:off;center=yes;edge:raised;dialogHeight:200px;dialogWidth:200px;help:0;resizable:0;scrollbar=0");
        if(type==undefined)
        {
            document.all("hdPayType").value="000";//没有选择支付方式时，默认是现金支付
        }
        else
        {
            document.all("hdPayType").value=type;
        }
        document.all("btnJS").click();
        //window.location.reload();
    }
		
</script>
    <form id="form1" runat="server">
    
    <div align="Justify">
        
        
    <h2>订单列表</h2>
    <div class="menu_bg"><uc4:BUTTONDJLIST ID="BUTTONDJLIST1" runat="server" />
        <input type="button" id="sel" name="sel" class="input_button" onclick="selectPayType()" value="批量结算" />
       <div style="display:none"><asp:Button ID="btnJS" runat="server" OnClick="btnJS_Click" /></div> 
        <asp:HiddenField ID="hdPayType" runat="server" /></div>
        <div class="menu_bg">订单编号：<asp:TextBox ID="TextBox1" runat="server" Width="100px"></asp:TextBox>
            用户帐号：<asp:TextBox ID="TextBox2" runat="server" Width="100px" ></asp:TextBox>
            用户昵称：<asp:TextBox ID="txtNickName" runat="server"></asp:TextBox>
            收货人：<asp:TextBox ID="TextBox5" runat="server"  Width="100px"></asp:TextBox>
            制单日期：<asp:TextBox ID="TextBox3" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>至<asp:TextBox ID="TextBox4" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>
        <br />订单来源：<asp:DropDownList ID="DropDownList1" Width="106px" runat="server">
        
        </asp:DropDownList>
        交易类型：<asp:DropDownList ID="DropDownList2" Width="106px" runat="server">
        
        </asp:DropDownList>        
        支付方式：<asp:DropDownList ID="ddlPaylist" runat="server">
            </asp:DropDownList>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        交易号：<asp:TextBox ID="txtDealNo" runat="server" Width="100px"></asp:TextBox>
        订单意见：<asp:DropDownList ID="dropOrderSuggestion" runat="server">
            </asp:DropDownList><br />
                        锁　　定：<asp:DropDownList ID="CheckBox5" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text=" 否" Value="0"></asp:ListItem>
        <asp:ListItem Text=" 是" Value="1"></asp:ListItem>
        </asp:DropDownList> 
        客审：<asp:DropDownList ID="CheckBox1" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
                财审：<asp:DropDownList ID="CheckBox2" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
                作废：<asp:DropDownList ID="CheckBox3" runat="server">
        <asp:ListItem Text="" Value="-1" >全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0" Selected="true"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
                结算：<asp:DropDownList ID="dropClear" runat="server">
                <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
            </asp:DropDownList>                
                发货：<asp:DropDownList ID="CheckBox4" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
                担保交易：<asp:DropDownList ID="DropDownList3" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
                货到付款：<asp:DropDownList ID="DropDownList4" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
                促销：<asp:DropDownList ID="DropDownList5" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
            <asp:Button ID="Button3"  class="input_button" runat="server" Text=">>" OnClick="Button3_Click" />
        <asp:Button ID="Button1" runat="server" Text="查找" CssClass="input_button" OnClick="Button1_Click" />&nbsp;
<br />
            <asp:Panel ID="Panel1" runat="server" Height="26px" Width="126px">
          <div  id="div_xx" style="width: 848px; height: 28px;" runat="server">
            固定电话：<asp:TextBox ID="txtgddh" runat="server" Width="99px"></asp:TextBox>&nbsp;
            手机：<asp:TextBox ID="txtsj" runat="server" Width="118px"></asp:TextBox>&nbsp;地址：<asp:TextBox
                ID="txtaddress" runat="server" Width="202px"></asp:TextBox>&nbsp;商品代码：<asp:TextBox ID="txtspdm" runat="server" Width="91px" AutoPostBack="True" OnTextChanged="txtspdm_TextChanged"></asp:TextBox> 
            <br />
            颜色：<asp:DropDownList ID="drpColor" runat="server"></asp:DropDownList>尺码：<asp:DropDownList ID="drpSize" runat="server"></asp:DropDownList></div></asp:Panel>
                          
            </div> 
        <br />                       
        <div class="juli"><uc1:ORDERDOCListControl ID="ORDERDOCListControl1" runat="server" /></div>
            <div class="juli"><webdiyer:aspnetpager id="AspNetPager1" 
        runat="server"
        PageSize="25" 
       NumericButtonCount="8" 
       ShowCustomInfoSection="left" 
       PagingButtonSpacing="0"
       ShowInputBox="always" 
       HorizontalAlign="Center" 
       SubmitButtonText="转到" 
       NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页" SubmitButtonClass="input_button"></webdiyer:aspnetpager>
                <br />
                &nbsp;</div>
        
   
    
    </form>
</body>
</html>
